export const isValidateUserName = (str: string) => ['admin', 'editor'].includes(str.trim())

export const isExternal = (path: string) => /^(https?:|mailto:|tel:)/.test(path)
